package com.neusoft.bizcore.auth.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.dto.AuthPermissionDTO;
import com.neusoft.bizcore.web.support.Searchable;

public interface AuthPermissionService {

    List<AuthPermissionDTO> findAll();

    Page<AuthPermissionDTO> search(Pageable pageable, Searchable searchable);

    AuthPermissionDTO create(AuthPermissionDTO dto);

    AuthPermissionDTO update(Long id, AuthPermissionDTO dto);

    AuthPermissionDTO details(Long id);

    void delete(Long id);
}
